home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Deutsche Edition 1
/
Deutsche Edition 1.iso
/
amok
/
061-070
/
amok65
/
bobedi
/
testbobedi.bas
< prev
next >
Wrap
BASIC Source File
|
1993-11-04
|
1KB
|
32 lines
'---------------------------------------------------------------------------
' :Program. TestBobEdi.bas
' :Contents. zeigt einen Bob als Demo fuer BobEdi
' :Author. Frank Lömker
' :Copyright. FreeWare, siehe Dok-File fuer BobEdi
' :Language. Basic
' :Translator. Amiga Basic V1.2
' :History. V1.0, [Frank Lömker] 26-Dez-91
' :Bugs. keine bekannt
'---------------------------------------------------------------------------
SCREEN 1,320,256,2,1
WINDOW 2,"TestBobEdi <TASTE>",,3,1
OPEN "df0:BobEdi/testBas.pal" FOR INPUT AS 1 ' Farben laden
f$=INPUT$ (LOF(1),1)
CLOSE 1
FOR i=0 TO LEN(f$)/3-1
PALETTE i,ASC(MID$(f$,i*3+1))/16,ASC(MID$(f$,i*3+2))/16,ASC(MID$(f$,i*3+3))/16
NEXT i
OPEN "df0:BobEdi/testBas" FOR INPUT AS 1 ' Bob laden
OBJECT.SHAPE 1,INPUT$(LOF(1),1)
CLOSE 1
OBJECT.X 1,10
OBJECT.Y 1,50
OBJECT.ON
WHILE INKEY$="" AND MOUSE(0)=0
OBJECT.X 1,MOUSE(1)-35
OBJECT.Y 1,MOUSE(2)-16
WEND
WINDOW CLOSE 2
SCREEN CLOSE 1
END